/*
 * Copyright (c) 2011 Vivien de Saint Pern
 *
 * Licensed under the GNU GPL, Version 3.0 (the "License");
 * You may not use this file except in compliance with the License.
 * You may obtain a copy of the License at:
 *
 *     http://www.gnu.org/copyleft/gpl.html
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

package com.shareproj.datamodel;

import java.util.List;
import java.util.Set;

/**
 * Definition of the project - main data model of the application
 *
 * @author Vivien de Saint Pern
 *
 */
public class Project extends DataModel {

	/**
	 * Name of the project
	 */
	private String name;

	/**
	 * Description of the project
	 */
	private String description;

	/**
	 * List of the members of the project
	 */
	private Set<User> projectMembers;

	/**
	 * List of admins. We keep it simple for now. Will be mapped to a proper
	 * role-user assignment at some point. A service will give us the
	 * authorisations based on this.
	 */
	private Set<User> projectAdmin;

	/**
	 * Releases of the projects
	 */
	private List<Release> releaseList;

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public Set<User> getProjectMembers() {
		return projectMembers;
	}

	public void setProjectMembers(Set<User> projectMembers) {
		this.projectMembers = projectMembers;
	}

	public Set<User> getProjectAdmin() {
		return projectAdmin;
	}

	public void setProjectAdmin(Set<User> projectAdmin) {
		this.projectAdmin = projectAdmin;
	}

	public List<Release> getReleaseList() {
		return releaseList;
	}

	public void setReleaseList(List<Release> releaseList) {
		this.releaseList = releaseList;
	}


}
